package dongshi.daddy.raft.logcopy;

// 同步日志段消息
public class LogSegmentMsg {
    // 任期
    private int term;
    // 索引
//    private String index;
    private int index;
    // 指令
    private String order;

    public int getTerm() {
        return term;
    }

    public void setTerm(int term) {
        this.term = term;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }
}
